ALPHABLENDING AVAILABLE

This command will return an integer value of 1 if the current 3D card supports alphablending.

  Syntax
Return Integer=ALPHABLENDING AVAILABLE()
  Returns

This command will return a value of 1 if the current 3D card supports alphablending

  Description

Alphablending is used to create the effect of 3D semi-transparency used by the GHOST OBJECT command.

  Example Code
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
ObjectNumber=1
load object "models\model.x",ObjectNumber
print "MISC"
print "alphablending available:";alphablending available()
print "filtering available:";filtering available()
print "fog available:";fog available()
print "TnL available:";tnl available()
print "Polys on nscreen:";statistic(1)
while mouseclick()=0
sync
endwhile
while mouseclick()=1:endwhile
delete object ObjectNumber
end
  See also

BASIC3D Commands Menu
Index